package org.poem;

/**
 * @author ：org.poem
 * @author ：Administrator
 * @date ：Created in 2021-10-11 11:19
 * @description：异常
 * @modified By：
 * @version: $
 */

public final class UkeyException extends Exception {
    private static final long serialVersionUID = 5162710183389028792L;
    private String message;
    private String code;

    /**
     * Constructs a {@code UkeyException} with no detail message.
     */
    public UkeyException() {
        super();
    }

    /**
     * Constructs a {@code UkeyException} with the specified
     * detail message.
     *
     * @param s the detail message.
     */
    public UkeyException(String s) {
        super(s);
        this.message = s;
    }

    /**
     * 构建 异常处理
     *
     * @param code
     * @param message
     */
    public UkeyException(String code, String message) {
        super(message);
        this.message = message;
        this.code = code;
    }


}